﻿namespace NiuX.Dapper.Abstractions;

public interface IAggregation
{


}

public interface IAggregation<T>
{
    int Count();

    bool Exists();

    TResult Sum<TResult>();

    TResult Max<TResult>();
    
    TResult Min<TResult>();
}